//*************************************************************************//
//*           _____   ____________            ______               __     *//
//*          / /__ \ / ____/ ____/           / ____/___  _________/ /     *//
//*     __  / /__/ // __/ / __/    ______   / /_  / __ \/ ___/ __  /      *//
//*    / /_/ // __// /___/ /___   /_____/  / __/ / /_/ / /  / /_/ /       *//
//*    \____//____/_____/_____/           /_/    \____/_/   \__,_/        *//
//*                                                                       *//
//*     Copyright (c) 2006 Ford Argentina. All Rights Reserved.           *//
//*                                                                       *//
//*************************************************************************//

package ar.com.ford.it.webengine.settings;

import java.util.HashMap;

public class AppSettings {
	protected static AppSettings instance = null;
	
    protected String APP_FULLNAME;
    protected String APP_NAME;
    protected String APP_PATH;
    protected String APP_HOST;
	
    protected Integer APP_SESSION_TIME_OUT;
    protected String APP_MAIL_SERVER;
    protected boolean fjf_persistence_facilities;
    protected boolean useMetrics;
    
    protected HashMap actionFilter;
    protected String applicationMenuName;
	
    public static AppSettings getInstance() {
    	if (instance == null)
    		instance = new AppSettings();
    	
    	return instance;
    }
    
    public String getAPP_FULLNAME() {
		return APP_FULLNAME;
	}
	public void setAPP_FULLNAME(String app_fullname) {
		APP_FULLNAME = app_fullname;
	}
	public String getAPP_HOST() {
		return APP_HOST;
	}
	public void setAPP_HOST(String app_host) {
		APP_HOST = app_host;
	}
	public String getAPP_MAIL_SERVER() {
		return APP_MAIL_SERVER;
	}
	public void setAPP_MAIL_SERVER(String app_mail_server) {
		APP_MAIL_SERVER = app_mail_server;
	}
	public String getAPP_NAME() {
		return APP_NAME;
	}
	public void setAPP_NAME(String app_name) {
		APP_NAME = app_name;
	}
	public String getAPP_PATH() {
		return APP_PATH;
	}
	public void setAPP_PATH(String app_path) {
		APP_PATH = app_path;
	}
	public Integer getAPP_SESSION_TIME_OUT() {
		return APP_SESSION_TIME_OUT;
	}
	public void setAPP_SESSION_TIME_OUT(Integer app_session_time_out) {
		APP_SESSION_TIME_OUT = app_session_time_out;
	}
	public boolean isFjf_persistence_facilities() {
		return fjf_persistence_facilities;
	}
	public void setFjf_persistence_facilities(boolean fjf_persistence_facilities) {
		this.fjf_persistence_facilities = fjf_persistence_facilities;
	}

	public HashMap getActionFilter() {
		return actionFilter;
	}

	public void setActionFilter(HashMap actionFilter) {
		this.actionFilter = actionFilter;
	}

	public String getApplicationMenuName() {
		return applicationMenuName;
	}

	public void setApplicationMenuName(String applicationMenuName) {
		this.applicationMenuName = applicationMenuName;
	}

	public boolean isUseMetrics() {
		return useMetrics;
	}

	public void setUseMetrics(boolean useMetrics) {
		this.useMetrics = useMetrics;
	}
	
}
